using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class addd : MonoBehaviour
{
    // Start is called before the first frame update
    public Button bt_send;
    public Button bt_connet;
    void Start()
    {
        bt_send.onClick.AddListener(sendmessage);
        bt_connet.onClick.AddListener(getm);
    }
    
    void getm()
    {
        CNetManager.Instance.initConet();
    }
    void sendmessage()
    {
        CNetManager.Instance.senddata();
    }
}
